//
//  BattleLoadingLayer.h
//  airfight
//
//  Created by aaron more on 12-8-21.
//  Copyright (c) 2012年 moonriver. All rights reserved.
//

#ifndef airfight_BattleLoadingLayer_h
#define airfight_BattleLoadingLayer_h

#include "cocos2d.h"
#include "../resources.h"

USING_NS_CC;

class BattleLoadingLayer : public CCLayer
{
private:
    CCSprite *cover;
    CCScene *parent;
    
public:
    ~BattleLoadingLayer();
    
    virtual bool init();  
    virtual void onEnter();
    virtual void onExit();
    
    void startLoading();
    void loadingPrototypes();
    
    void update(float dt);
    
    LAYER_CREATE_FUNC(BattleLoadingLayer);
    
    
};

#endif
